package minidraw.framework;

import java.util.EventListener;

/** DrawingChangeListener defines the role of an object listening
    to events from a Drawing.

    This code is copied literally from JHotDraw 5.1
*/

public interface DrawingChangeListener extends EventListener {
    /**
     *  Sent when an area is invalid
     */
    public void drawingInvalidated(DrawingChangeEvent e);

    /**
     *  Sent when the drawing wants to be refreshed
     */
    public void drawingRequestUpdate(DrawingChangeEvent e);
}
